package com.ysj.demo.accompanynetwork.util;

import java.util.UUID;

public class GeneralUtils {
    public static String getUUID() {
        return UUID.randomUUID().toString().replace("-","").toUpperCase();
    }

    public static boolean isEmpty(String input) {
        if (input == null || input.length() == 0){
            return true;
        }
        return false;
    }

    public static boolean isNotEmpty(String input) {
        return !isEmpty(input);
    }
}
